tools/mce: refactor xen-mceinj to ease injection of other MCEs
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 23 Jun 2014 17:57:00 +0000 (18:57 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 27 Jun 2014 13:13:24 +0000 (14:13 +0100)
commitcc31ff7b4c5741f0c487867f11e8af39e953bbe7
tree671f7e9b1e85497d5d20f432b662dad71da0c61e
parentecc7647b37b179465244add2468552a33025f14d
tools/mce: refactor xen-mceinj to ease injection of other MCEs

Make the set of MCEs that xen-mceinj can inject by data-driven instead
of a whole pile of cut-and-paste functions.

There is no functional change.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Christoph Egger <chegger@amazon.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/tests/mce-test/tools/xen-mceinj.c